import { http } from '@/request/index.js'
//地址列表
export function getaddress(data) {
	return http.post('/personalcenter/getaddress', data)
}
//添加
export function address(data) {
	return http.post('/personalcenter/address',data)
}

//编辑
export function editaddress (data) {
	return http.post('/personalcenter/editaddress',data)
}
//删除
export function deladdress (data) {
	return http.post('/personalcenter/deladdress',data)
}

//默认
export function setdefault (data) {
	return http.post('/personalcenter/setdefault',data)
}
